package com.woniu.communitymanagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 车位收费表
 * @TableName carcharge
 */
@TableName(value ="carcharge")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Carcharge implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 开始时间
     */
    @TableField(value = "pay_date")
    private String payDate;

    /**
     * 结束时间
     */
    @TableField(value = "end_date")
    private String endDate;

    /**
     * 金额
     */
    @TableField(value = "money")
    private Double money;

    /**
     * 状态：0=未交费；1=已缴费
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 关联owner表主键
     */
    @TableField(value = "owner_id")
    private Integer ownerId;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 收费类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 关联parking表主键
     */
    @TableField(value = "park_id")
    private Integer parkId;
    /**
     * 车位号码
     */
    private String parkNumbers;
    /**
     * 业主姓名·
     */
    private String ownerName;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}